package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 类别
 *
 * @author Administrator
 * @TableName t_category
 * @date 2023/03/03
 */
@TableName(value = "t_category")
@Data
public class Category implements Serializable {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 品类id
     */
    @TableId(type = IdType.AUTO)
    private Long categoryId;
    /**
     * 品类名
     */
    private String categoryName;
    /**
     * 父类id
     */
    private Long parentId;
    /**
     * 层级
     */
    private Integer categoryLevel;
    /**
     * 状态：1.开启 0.关闭
     */
    private Integer status;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;
}
